/* 内容区域样式 */
h1 {
    font-size: 15px;
    margin: 0 0 24px 0;
    color: #333;
    font-weight: 500;
}

/* 页面容器 */
#switchPage {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 选择器组样式 */
.select-group {
    margin-bottom: 16px;
}

.select-group label {
    display: block;
    margin-bottom: 6px;
    color: #666;
    font-size: 12px;
}

/* 选择器包装器样式 */
.select-wrapper {
    position: relative;
    margin-bottom: 24px;
}

/* 当下拉框显示时提升层级 */
.select-wrapper:has(.options-dropdown.show) {
    z-index: 100;
}

/* 输入框样式 */
.search-input {
    width: 100%;
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: #336dab;
    box-shadow: 0 0 0 2px rgba(51, 109, 171, 0.2);
}

/* 下拉框样式 */
.options-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 120px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
}

.options-dropdown.show {
    display: block;
}

/* 下拉选项样式 */
.option-item {
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

.option-item:hover {
    background-color: #f5f8ff;
}

.option-item.selected {
    background-color: #edf5ff;
    color: #336dab;
}

/* 当前选项样式 */
.option-item:first-child {
    color: #666;
    font-style: italic;
}

.option-item:first-child::before {
    content: '⟲ ';
    color: #336dab;
}

/* 临时选项样式 */
.option-item.temporary {
    border-top: 1px dashed #ddd;
    color: #666;
    font-style: italic;
}

.option-item.temporary::before {
    content: '+ ';
    color: #336dab;
}

/* 分隔线样式 */
.option-separator {
    height: 1px;
    background-color: #eee;
    margin: 4px 0;
}

/* 按钮组样式 */
.button-group {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-bottom: 16px;
}

button {
    flex: 1;
    height: 32px;
    background-color: #336dab;
    border: none;
    color: white;
    padding: 0 16px;
    text-align: center;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #2a5a8e;
}

.settings-btn {
    background-color: #f5f5f5;
    color: #333;
}

.settings-btn:hover {
    background-color: #e8e8e8;
}

/* 滚动条样式 */
.options-dropdown::-webkit-scrollbar {
    width: 8px;
}

.options-dropdown::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.options-dropdown::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.options-dropdown::-webkit-scrollbar-thumb:hover {
    background: #ccc;
} 